package 手写;

import java.util.Arrays;

public class 字符串转数组 {
    public static void main(String[] args) {
        String str = "0,1,2,3";
        String[] res = str.split(",");
        System.out.println(Arrays.toString(res));
    }
}
